#ifndef SERVER_XML_READER_H
#define SERVER_XML_READER_H

//#include <QtXml>
#include <QIODevice>
#include <QString>
#include <QXmlDefaultHandler>
//#include "server.h"
#include "serverXmlHandler.h"

class Server;

class ServerXmlReader : public QObject
{
	Q_OBJECT

public:
	ServerXmlReader( QIODevice* data, Server* serverRef);
//	~ServerXmlReader();
	bool leggi();
private:
	QIODevice *data;
	Server * serverRef;
};



#endif